package study.java.thread01;

import java.util.Date;

/**
* @Name: ThreadStop
* @Description: 线程中断测试类
* @Author: 李超	lc_jack@foxmail.com
* @CreateDate: 2017-1-8 下午9:23:16 
* @Version: V1.0
 */
public class ThreadStop extends Thread {
	
	public void run() {
		System.out.println("开始执行:" + new Date());
		//线程休眠，10秒
		try {
			Thread.sleep(10000) ;
		} catch (InterruptedException e) {
			System.out.println("线程终止");
		}
		System.out.println("结束执行:" + new Date());
	}

}
